Release 10.1A: OpenEdge Data Management:
SQL Reference


DATABASE

Returns the name of the database corresponding to the current connection name. This function takes no arguments, and the trailing parentheses are optional.

Syntax

DATABASE [ ( ) ] 

Example

The following example shows how to use the DATABASE function:

select database() from t2;
 
DATABASE
--------
steel              
 
1 record selected 

Compatibility

ODBC compatible


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095